<?php 
require_once 'glob.php';
$client = new soapclient('http://218.92.182.147/sms/smsservice.asmx?wsdl',true);

$parameters = array('user' => "kwor",'pass' => "393345333",'mobile' => "13179323210",'msg' => "测试中文");
//注意参数
$res=$client->call('SMSsend',$parameters);

/*
$parameters=array(username=>'admin1');
$res=$client->call('getmember',$parameters);
 //*/

if (!$err=$client->getError()) {

	
	print_r($res);


} else {
echo " 错误 :",$err;
}
//下面显示request和response 变量的内容
echo '<p/>';
echo 'Request:';
echo '<pre>',htmlspecialchars($client->request,ENT_QUOTES),'</pre>';
echo 'Response:';
echo '<pre>',htmlspecialchars($client->response,ENT_QUOTES ),'</pre>'; 


?>
